
 <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--{template "wap_header"}-->
<link rel="stylesheet" href="templates/mobile/style/cp_style20140312.css" />
<!--{~ui('loader')->js('@jquery')}-->
{~ui('loader')->css('@jquery.tipTip')}
{~ui('loader')->js('@jquery.tipTip')}
{~ui('loader')->js('@jquery.hook')}
{~ui('loader')->js('@jquery.cache')}
{~ui('loader')->js('@jquery.form')}
{~ui('loader')->css('@jquery.validationEngine')}
{~ui('loader')->js('@jquery.validationEngine.cn')}
{~ui('loader')->js('@jquery.validationEngine')}
<script type="text/javascript">
var productid = "{$product['id']}";
var price = {$product['nowprice']};
var oncemax = {$product['oncemax']};
var oncemin = {$product['oncemin']};
var surplus = {$product['surplus']};
{if $product['type'] == 'stuff'}
var weight = {$product['weightsrc']};
{/if}
function order_finish(id)
{
window.location = '{~rewrite("wap.php?mod=buy&code=order&id=")}'+id;
}
</script>
{~ui('loader')->js('@buy.checkout', UI_LOADER_ONCE)}
</head>
 <body > 


 <header>
                <div class="left-box">
                    <a class="goback" href="wap.php"><label gaevent="InnerLink|Click|touch/back">首页</label></a>
                </div>
                <h1>提交订单</h1>
 </header>
<div class="entry" style="display: none;"></div>



<div class="order-wrap">
			<!--购买信息-->
			<section class="common-items">
				<div class="common-item"> 
					<span class="item-label">项目：</span>
					<div class="item-content">{$product['flag']}</div>
				</div>
				<div class="common-item">
					<span class="item-label">单价：</span>
					<div class="item-content f16">&#165;{$product['nowprice']}</div>
				</div>
				<!--运费信息-->
													<div class="common-item"> <span class="item-label">数量：</span>
	<div class="item-content pro-numsele"><input name="num_buys" id="num_buys" value="1" class="buy_input" type="tel" size="60" value="{$product['oncemin']}"  min_per_user="{$product['oncemin']}" max_per_user="{$product['oncemax']}" {if $product['oncemin']>$product['surplus']} user_can_bought="{$product['surplus']}" {else} user_can_bought="{$product['oncemax']}" {/if} />
	</div>
</div>		

			</section>



<!--{eval logic('attrs')->wap_html($product)}-->

<!--{eval logic('notify' )->wap_html($product)}-->


<div class="common-title">付款信息</div>
				<section class="common-items order-siteedit">
				<div class="common-item"> <span class="item-label">应付总额：</span>
					<div class="item-content f16">&#165;<font id="price_total" class="price" style="margin:0px; padding:0px;">{echo $product['nowprice']*$product['oncemin']}</font></div>
					</div>
<form id="checkout_submit" action="wap.php?mod=buy&code=checkout&op=save" method="post" >

<input id="product_id" type="hidden" name="product_id" value="{$product['id']}" />
				<div class="common-item"> <span class="item-label">订单附言：</span>
					<div class="item-content">
						<textarea id="extmsg" cols="70" rows="3" name="extmsg" placeholder="可以不写" style="width:100%; height:auto; color:#999; font-size:14px; text-align:left; border:none; line-height: 23px;" ></textarea>
					</div>
				</div>
			</section>
<div class="deal-btn">
<input id="checkout_submit_button" type="submit" value="确认无误，下订单" name="buy" class="j_submit" />
<font id="submit_status"></font>
</form>
</div>
</div>

<script type="text/javascript">fizinit();</script>



<!--{template "wap_footer"}-->

</body>
</html>